package com.software.usercenter.entity;

import lombok.Data;
import org.hibernate.annotations.Proxy;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
@Proxy(lazy = false)
@Data
public class StudentInfo {
    @Id
    private String userId;
    private String userName;
    private String password;
    private String icon;
    private String nickName;
    private String realName;
    private String gender;
    private String studentId;
    private String school;
    private String classId;

    @Override
    public String toString() {
        return "StudentInfo{" +
                "userId='" + userId + '\'' +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", nickName='" + nickName + '\'' +
                ", realName='" + realName + '\'' +
                ", gender='" + gender + '\'' +
                ", studentId='" + studentId + '\'' +
                ", school='" + school + '\'' +
                ", classId='" + classId + '\'' +
                '}';
    }
}
